'use strict';
var is_exist_element = function(collection,element){

    
    let arr = collection.filter(function(x){
        if(collection.indexOf(x)%2==0) 
            return x;
    })
    if(arr.includes(element))
        return true;
    else
        return false;
    
};
module.exports = is_exist_element;
